SftTree/OCX 7.0

DataObject.Files Property

Softel vdm, Inc.

Returns a collection of filenames used by the sftCFFiles format.

Syntax       

Get

VB.NET

Files = object.Files  As DataObjectFiles

VB

Set Files = object.Files  As DataObjectFiles

C#.NET

DataObjectFiles Files = object.Files;

VC++

IVDMDataObjectFiles* Files = object->Files;
IVDMDataObjectFiles* Files = object->GetFiles();

C

HRESULT object->get_Files(struct IVDMDataObjectFiles** Files);

Delphi

Files := object.Files  : IVDMDataObjectFiles;

object

A DataObject object.

Files

A collection of filenames used by the sftCFFiles format.

Comments

The Files property returns a collection of filenames used by the sftCFFiles format.

The Files collection is filled with file names only when the DataObject object contains data of type sftCFFiles.  The DataObject object can contain several different types of data.  You can iterate through the Files collection using the DataObjectFiles.Item property to retrieve the list of file names.

The Files collection can be filled to allow an application to act as a drag source for a list of files (similar to Windows Explorer).

See Also  DataObject Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com